<style>
    .page.article {
        font-size: 0.9em;
        background-color: #fff;
    }

    .weui-cells {
        margin-top: 0;
    }
</style>
<div ng-controller="FileCtrl">
    <div class="page article js_show h-full">
        <div class="weui-cells__title">编辑</div>
        <div class="weui-cells weui-cells_form h-full">
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">姓名</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input" type="text" ng-model="personDetail.name" required>
                </div>
            </div>
            <div class="weui-cells  weui-cells_checkbox" style="margin-top: 0">
                <div class="weui-flex">
                    <div class="weui-flex__item weui-cell r" style="padding:10px 0 10px 15px">
                        <div class="weui-cell__hd"><label class="weui-label">性别</label></div>
                    </div>

                    <div class="weui-flex__item" ng-repeat="item in sex">
                        <label class="weui-cell weui-check__label">
                            <div class="weui-cell__hd">
                                <input type="radio" class="weui-check" name="address" ng-value="item.name" ng-model="personDetail.chooseSex" ng-checked="item.name">
                                <i class="weui-icon-checked"></i>
                            </div>
                            <div class="weui-cell__bd" style="text-align:left">
                                <p style="font-size:13px">{{item.name}}</p>
                            </div>
                        </label>
                    </div>

                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">日期</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input" type="date" ng-model="personDetail.birthday" required>
                </div>
            </div>
            <div class="weui-cell ">
                <div class="weui-cell__hd">
                    <label class="weui-label">联系电话</label>
                </div>
                <div class="weui-cell__bd">
                    <input class="weui-input" type="tel" ng-model="personDetail.tel" required>
                </div>
            </div>
        </div>
        <a href="javascript:;" style="margin:12px" class="weui-btn weui-btn_primary" ng-click="saveMessage_click()">保存</a>
    </div>
    <div id="toast" ng-show="showToast">
        <div class="weui-mask_transparent"></div>
        <div class="weui-toast">
            <i class="weui-icon-success-no-circle weui-icon_toast"></i>
            <p class="weui-toast__content">已完成</p>
        </div>
    </div>
</div>